package com.xiaofeng.pojo;

import java.io.Serializable;
import java.util.Date;

public class Transfer implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private int empId;
	private Date transferTime;
	private int beforeDeptNo;
	private int afterDeptNo;
	@Override
	public String toString() {
		return "Transfer [id=" + id + ", empId=" + empId + ", transferTime=" + transferTime + ", beforeDeptNo="
				+ beforeDeptNo + ", afterDeptNo=" + afterDeptNo + "]";
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getEmpId() {
		return empId;
	}
	public void setEmpId(int empId) {
		this.empId = empId;
	}
	public Date getTransferTime() {
		return transferTime;
	}
	public void setTransferTime(Date transferTime) {
		this.transferTime = transferTime;
	}
	public int getBeforeDeptNo() {
		return beforeDeptNo;
	}
	public void setBeforeDeptNo(int beforeDeptNo) {
		this.beforeDeptNo = beforeDeptNo;
	}
	public int getAfterDeptNo() {
		return afterDeptNo;
	}
	public void setAfterDeptNo(int afterDeptNo) {
		this.afterDeptNo = afterDeptNo;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public Transfer(int id, int empId, Date transferTime, int beforeDeptNo, int afterDeptNo) {
		super();
		this.id = id;
		this.empId = empId;
		this.transferTime = transferTime;
		this.beforeDeptNo = beforeDeptNo;
		this.afterDeptNo = afterDeptNo;
	}
	public Transfer(int empId, Date transferTime, int beforeDeptNo, int afterDeptNo) {
		super();
		this.empId = empId;
		this.transferTime = transferTime;
		this.beforeDeptNo = beforeDeptNo;
		this.afterDeptNo = afterDeptNo;
	}
	public Transfer() {
		super();
	}
	
	
}
